package org.little.beans.factory;

import java.util.List;

/**
 * @author Tinyspot
 * @date 2022-05-19 21:41
 */
public interface BeanFactory {

    Object getBean(String beanId);

    Class<?> getType(String name) throws NoSuchBeanDefinitionException;

    List<Object> getBeansByType(Class<?> type);

}
